﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="Edit.ascx.vb" Inherits="Control_QuanLyHoSoChamDut_Edit" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
<%@ Register Assembly="ValidationTextBox" Namespace="ValidationTextBox.CustomControls"
    TagPrefix="cc1" %>
<%@ Register Assembly="ValidationDropdownlist" Namespace="ValidationDropdownlist.CustomControls"
    TagPrefix="cc2" %>
<script type="text/javascript">
    function ajaxJquery() {
        $(function () {
            $(".Date").datepicker({ dateFormat: 'dd/mm/yy' });
            $(".TextBox:first").focus();
            //disabled trường có .disablaed
            $('.disabled').attr('disabled', 'disabled');

            //validate save
            $("#<%= btnSave.ClientID %>").click(function () {

                if (validateFormInputs('reg') == true) {
                    return true;

                } else {
                    return false;
                }

            });
        });
    }
</script>
<asp:UpdatePanel ID="uplCertifiedChamDut" runat="server">
    <ContentTemplate>
        <div class="content_porletform">
            <div class="HeadTitle">
                <h3>
                    <asp:Label ID="Label3" runat="server" Text="CẬP NHẬT CHẤM DỨT HỘ KINH DOANH" /></h3>
            </div>
            <div class="box_contentform">
                <div class="box_scroll_grid">
                    <div class="DivRequired">
                        <span class="fieldRequired">&nbsp;</span>Trường yêu cầu nhập dữ liệu
                    </div>
                    <div class="Error">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="#FF3300" />
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label1" CssClass="TextLabel" runat="server" Text="Tên hộ kinh doanh:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtBiz_VietNam" CssClass="TextBox disabled" runat="server" Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label2" CssClass="TextLabel" runat="server" Text="Số GCN:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtCertifiedCode" CssClass="TextBox disabled" runat="server" Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label4" CssClass="TextLabel" runat="server" Text="Cơ quan cấp:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtCertifiedDeptName" CssClass="TextBox disabled" runat="server"
                                Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label5" CssClass="TextLabel" runat="server" Text="Ngày cấp:" />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtCertifiedDate" CssClass="TextBox disabled" runat="server" Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="lblDiaDiemKD" CssClass="TextLabel" runat="server" Text="Địa điểm kinh doanh: " />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox runat="server" ID="txtBiz_HeadOffice" CssClass="TextBox disabled" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label13" CssClass="TextLabel" runat="server" Text="Điện thoại: " />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtOw_Tel" CssClass="TextBox disabled" runat="server" Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label14" CssClass="TextLabel" runat="server" Text="Fax: " />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtOw_Fax" CssClass="TextBox disabled" runat="server" Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label15" CssClass="TextLabel" runat="server" Text="Email: " />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtOw_Email" CssClass="TextBox disabled" runat="server" Text="" />
                        </div>
                    </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            <asp:Label ID="Label16" CssClass="TextLabel" runat="server" Text="Website: " />
                        </div>
                        <div class="DivTextBox">
                            <asp:TextBox ID="txtOw_WebSite" CssClass="TextBox disabled" runat="server" Text="" />
                        </div>
                    </div>
                    <h3>
                        <asp:Label ID="Label6" runat="server" Text="THÔNG BÁO CHẤM DỨT HỘ KINH DOANH:" />
                    </h3>
                    <div class="DivRow">
                            <div class="DivLabel">
                                <asp:Label ID="lblNgayChamDut" CssClass="TextLabel" runat="server" Text="Ngày chấm dứt:" />
                            </div>
                            <div class="DivTextBox">
                                <cc1:ValidationTextBox ID="txtNgayChamDut" CssClass="TextBox Date" Group="reg" AssociatedLableText="Ngày chấm dứt."
                                    runat="server" Text="" MaxLength="50" DataType="required"></cc1:ValidationTextBox>&nbsp;<span
                                        style="color: red">*</span>
                            </div>
                        </div>
                        <div class="DivRow">
                            <div class="DivLabel">
                                <asp:Label ID="lblGhiChu" CssClass="TextLabel" runat="server" Text="Ghi chú:" />
                            </div>
                            <div class="DivTextBox">
                                <asp:TextBox ID="txtGhiChu" CssClass="TextBox" runat="server" Text="" TextMode="MultiLine"
                                    Rows="5" />
                            </div>
                        </div>
                    <div class="DivRow">
                        <div class="DivLabel">
                            &nbsp;&nbsp;&nbsp;</div>
                        <div class="DivTextBox">
                            <div style="float: left">
                                <asp:Button ID="btnSave" runat="server" Text=" Lưu " CssClass="btn" />
                                &nbsp;<asp:Button ID="btnReset" runat="server" CausesValidation="false" CssClass="btn"
                                    Text="Làm lại" /></div>
                            <div style="float: right; text-align: right">
                                &nbsp;<asp:ImageButton ID="btnBack" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/images/back.png"
                                    ToolTip="Quay lại" /></div>
                        </div>
                    </div>
                </div>
                <div style="display: none">
                    <asp:HiddenField ID="hidID" Value="0" runat="server" />
                    <asp:HiddenField ID="hidCertifiedId" Value="0" runat="server" />
                    <asp:HiddenField ID="hidCertifiedCode" Value="0" runat="server" />
                </div>
            </div>
        </div>
    </ContentTemplate>
</asp:UpdatePanel>
